package com.dljd.javase.t12;

public class MyThread extends Thread {

    public void run() {
        try {
            Thread.sleep(3000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }


        for (int i = 0; i <10; i++) {
            System.out.println(this.getName()+":"+i);
        }
    }
}
